package com.fresh.feignclient;

import com.fresh.entity.RejIn;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("cipin-service")
public interface CiPinFeignClient {

    @PostMapping("/cipin/add")
    Object add(@RequestBody RejIn rejIn);

}
